
package com.idealighter.game.roomcard.games.mustniuniu.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ReqMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;

import lombok.Data;

/**
 * 请求托管 .
 *
 */
@ReqMsg(ModuleMsgIdConstant.MustNiuNiu.TRUSTEE)
@Data
public class ReqTrusteeMsg implements ReqMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.MustNiuNiu.TRUSTEE;
  // 托管-下注筹码
  @Protobuf(order = 2)
  private TrusteeBetOption betOption;
  // 托管-推注选项
  @Protobuf(order = 3)
  private TrusteeExtrBetOption extrBetOption;
  // 托管-叫庄选项
  @Protobuf(order = 4)
  private TrusteeCallBankerOption callBankerOption;

  @Data
  public static class TrusteeBetOption {
    @Protobuf(order = 1)
    private int niu;
    @Protobuf(order = 2)
    private int chips;
  }

  @Data
  public static class TrusteeExtrBetOption {
    @Protobuf(order = 1)
    private int niu;
  }

  @Data
  public static class TrusteeCallBankerOption {
    @Protobuf(order = 1)
    private int niu;
    @Protobuf(order = 2)
    private int multiple;
  }
}
